package com.example.platosreports;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.graphics.PorterDuff;
import android.view.Menu;
import android.view.View;
import android.widget.Button;
//import android.widget.TextView;

public class PlatosReports extends Activity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_platos_reports);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.platos_reports, menu);
		Button thisButton1 = (Button) findViewById(R.id.button1);
		thisButton1.getBackground().setColorFilter(0xffff0000, PorterDuff.Mode.MULTIPLY);
		Button thisButton2 = (Button) findViewById(R.id.button2);
		thisButton2.getBackground().setColorFilter(0xffff0000, PorterDuff.Mode.MULTIPLY);
		Button thisButton3 = (Button) findViewById(R.id.button3);
		thisButton3.getBackground().setColorFilter(0xffff0000, PorterDuff.Mode.MULTIPLY);
		Button thisButton4 = (Button) findViewById(R.id.button4);
		thisButton4.getBackground().setColorFilter(0xffff0000, PorterDuff.Mode.MULTIPLY);
		return true;
	}
	
	//Called when the user clicks the daily button
	public void daily(View view)
	{
		//do something in response to button
		Intent dailyBtn = new Intent(this, DailySearch.class);
		startActivity(dailyBtn);
	}
	
	//Called when the user clicks the monthly button
	public void monthly(View view)
	{
		//do something in response to button
		Intent monthlyBtn = new Intent(this, MonthlySearch.class);
		startActivity(monthlyBtn);
	}
	
	//Called when the user clicks the monthly button
	public void KI(View view)
	{
		//do something in response to button
		Intent KIBtn = new Intent(this, KISearch.class);
		startActivity(KIBtn);
	}
	
	//Called when the user clicks the monthly button
	public void UIPR(View view)
	{
		//do something in response to button
		Intent UIPRBtn = new Intent(this, UIPRSearch.class);
		startActivity(UIPRBtn);
	}

}
